<%@ page import="com.site.service.ConfigService,com.site.entity.ConfigEntity" %>
<%@ page import="java.util.List" %>
<%@ page import="com.site.entity.*" %>
<%@ page import="com.site.service.*" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    ConfigEntity footEntity=new ConfigService().getSiteConfig();
    List<HeaderEntity> headlist=new HeaderService().getAll();
    List<HeadOtherEntity> othlist=new HeadOtherService().getAll();
%>

<html>
<head>
</head>
<body>
<!-- 页面底部 -->
<div class="footbar">
    <%
        for(HeaderEntity hdlist:headlist){
    %>
    <a href="<%=hdlist.getSource()%>">
<%--        首页--%>
        <%=hdlist.getTitle()%>
    </a>
    <%
        }
    %>

    <%
        for(HeadOtherEntity ot:othlist){
    %>
    <a href="<%=ot.getSource()%>"><%=ot.getTitle()%></a>
    <%
        }
    %>
    <hr />
    <p>
<%--        Copyright&copy;&nbsp;1999-2022&nbsp;All&nbsp;Rights&nbsp;Reserved&nbsp;蜀ICP备2022025155号--%>
        <%=footEntity.getIcp()%>
    </p>
</div>
</body>
</html>
